package ModelImplementation

import "time"

type ServiceCharge struct {
	itsDate time.Time
	itsAmount float64
}

func (sc* ServiceCharge) GetAmount() float64{
	return sc.itsAmount
}

func serviceCharge (date time.Time,amount float64) ServiceCharge {
	return ServiceCharge{itsDate: date,itsAmount: amount}
}